import http from "../utils/http2.js";

/**保存 */
export function saveWarehousing(data) {
  return http.post("/v1/wareHousing",data);
}

/**删除 */
export function deleteWarehousing(id) {
  return http.delete("/v1/wareHousing", id);
}


/**修改状态 */
export function updateStatus(id) {
  return http.put("/v1/wareHousing/status",id);
}



/**查询列biao*/
export function queryAll() {
  return http.get("/v1/wareHousing/queryList");
}

export function queryWarehousing(data) {
  return http.post("/v1/wareHousing/query", data);
}



/**修改 */
export function updateWarehousing(data) {
  return http.put("/v1/wareHousing", data);
}